<!--
 * @Author: your name
 * @Date: 2021-08-24 19:34:11
 * @LastEditTime: 2021-08-25 15:59:51
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \briup\5-javascript\day02\九九乘法表.html
-->
<!DOCTYPE html>
<html lang="en">


<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        for (var m = 9; m >= 1; m--) {

            for (var n = 1; n <= m; n++) {



                console.log(n + "*" + m + "=" + n * m);



            }



            if (m == n) {
                document.write("<br>"); //添加换行
            }

        }
    </script>
</head>


<body>

</body>

</html>